import { axios } from '@/utils/request'
import config from '@/config/appConfig'

export function getList (parameter) {
  return axios({
    url: config.url,
    method: 'get',
    params: {
      _gp: 'admin.appraise',
      _mt: 'getAppraiseList',
      limit: 10,
      ...parameter
    }
  })
}

export function deleteAppraise (parameter) {
  return axios({
    url: config.url,
    method: 'post',
    data:querystring.stringify({
      _gp: 'admin.appraise',
      _mt: 'deleteAppraise',
      ... parameter
    })
  })
}
